using System;
using System.Collections.Generic;
using System.Text;

namespace PDSClient.Utils.IO
{
    public interface IConnector<T>
    {
        void Connect(IConnectionListener listener);

        bool WaitForConnect(long timeout);

        bool Connected { get; }

        IEndpoint<T> Endpoint { get; }

        void ShutDown();
    }
}
